package com.qinggeng.project.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qinggeng.framework.aspectj.lang.annotation.Excel;
import lombok.Data;
import com.qinggeng.framework.web.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 用户钱包对象 user_wallet
 * 
 * @author qinggeng
 * @date 2020-06-26
 */
@Data
public class UserWallet extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long walletId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 总金额 */
    @Excel(name = "总金额")
    private BigDecimal totalPrice;

    /** 冻结金额 */
    @Excel(name = "冻结金额")
    private BigDecimal freezePrice;

    /** 累计收益 */
    @Excel(name = "累计收益")
    private BigDecimal addPrice;

    /** 今日收益 */
    @Excel(name = "今日收益")
    private BigDecimal dayPrice;


    public Long getWalletId() {
        return walletId;
    }

    public void setWalletId(Long walletId) {
        this.walletId = walletId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public BigDecimal getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(BigDecimal totalPrice) {
        this.totalPrice = totalPrice;
    }

    public BigDecimal getFreezePrice() {
        return freezePrice;
    }

    public void setFreezePrice(BigDecimal freezePrice) {
        this.freezePrice = freezePrice;
    }

    public BigDecimal getAddPrice() {
        return addPrice;
    }

    public void setAddPrice(BigDecimal addPrice) {
        this.addPrice = addPrice;
    }

    public BigDecimal getDayPrice() {
        return dayPrice;
    }

    public void setDayPrice(BigDecimal dayPrice) {
        this.dayPrice = dayPrice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("walletId", getWalletId())
            .append("userId", getUserId())
            .append("totalPrice", getTotalPrice())
            .append("freezePrice", getFreezePrice())
            .append("addPrice", getAddPrice())
            .append("dayPrice", getDayPrice())
            .toString();
    }
}
